home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / EnvMapping / FishEye / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  1.6 KB  |  44 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: FishEye Direct3D Sample
  3. // 
  4. // Copyright (c) 1998-2001 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The FishEye sample shows a fish eye lens effect that can be achieved using
  11.    cubemaps. 
  12.    
  13.  
  14. Path
  15. ====
  16.    Source:     DXSDK\Samples\Multimedia\D3D\EnvMapping\FishEye
  17.    Executable: DXSDK\Samples\Multimedia\D3D\Bin
  18.  
  19.  
  20. User's Guide
  21. ============
  22.    The following keys are implemented. The dropdown menus can be used for the
  23.    same controls.
  24.       <Enter>     Starts and stops the scene
  25.       <Space>     Advances the scene by a small increment
  26.       <F1>        Shows help or available commands.
  27.       <F2>        Prompts user to select a new rendering device or display mode
  28.       <Alt+Enter> Toggles between fullscreen and windowed modes
  29.       <Esc>       Exits the app.
  30.  
  31.  
  32. Programming Notes
  33. =================
  34.    The scene is actually rendered into the surfaces of a cubemap (rather than
  35.    the back buffer). Then, the cubemap is used as an environment-map (see the 
  36.    CubeMap sample for more information about cube-mapping) to reflect the
  37.    scene in some distorted geometry...in this case, some geometry approximating
  38.    a fish eye lens.
  39.  
  40.    This sample makes use of common DirectX code (consisting of helper functions,
  41.    etc.) that is shared with other samples on the DirectX SDK. All common
  42.    headers and source code can be found in the following directory:
  43.       DXSDK\Samples\Multimedia\Common
  44.